package com.fowo.api.model.promotional;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 促销费流水 导入导出辅助模型 */
@Data
public class PromotionalStreamExcelPo {

  @NotBlank(message = "店铺不能为空")
  @Size(max = 100, message = "店铺长度不能超过20")
  @ExcelProperty(value = "*店铺")
  private String shop;

  @NotNull(message = "金额不能为空")
  @Size(max = 50, message = "金额长度不能超过20")
  @ExcelProperty(value = "*金额")
  private java.math.BigDecimal money;

  @NotBlank(message = "事业部不能为空")
  @Size(max = 100, message = "事业部长度不能超过20")
  @ExcelProperty(value = "*事业部")
  private String division;

  @NotBlank(message = "部门不能为空")
  @Size(max = 100, message = "部门长度不能超过20")
  @ExcelProperty(value = "*部门")
  private String department;

  @Size(max = 50, message = "日期长度不能超过20")
  @ExcelProperty(value = "日期")
  private String jsDate;

  @NotBlank(message = "币种不能为空")
  @Size(max = 100, message = "币种长度不能超过20")
  @ExcelProperty(value = "*币种")
  private String currency;
}
